﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ly
{
    enum renwu 
    {
        送信,
        杀怪,
        采集
    }
    class TaskType : NPC
    {
        public renwu rw { get; set; }

        public TaskType()
        {
        }
        public TaskType(string name, NPCType type, string info,renwu rw)
            :base(name,type,info)
        {
            this.rw = rw;

        }

        public override void Speak()
        {
            Console.WriteLine("我的名字叫：{0}，类型:{1}，信息:{2}，任务:{3}", base.Name, base.Type, base.NPCInfo, this.rw);
        }
    }
}
